python discord know message from bot

39

def on_message(self, message):
    if (message.author.bot):
        return #if this is true: then it is by a bot.

Comments

Submit
0 Comments